Covariantly Adjusting Co-Types in Timor

نویسندگان

  • James Leslie Keedy
  • Gisela Menger
  • Christian Heinlein
چکیده

This paper extends the idea of co-types (described in a companion paper) to include the concept of adjustment hierarchies. An adjustment hierarchy provides a parallel hierarchy to a subtyping hierarchy of a type being expanded by the co-type. This has a number of advantages including the predefinition of co-types for subtypes of an expanded type, and allowing automatic covariant adjustment of parameters for makers, binary methods and instance methods, without creating problems for static type safety.

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

Types and Co-Types in Timor

A co-type is a type with instance methods and instance data which enhance the functionality of some other type (its "expanded" type). The instance methods of the co-type correspond approximately to constructors, class methods and binary methods of the expanded type in other class-based OO systems, and the instance data replaces class-based data. This unconventional approach was motivated by the...

متن کامل

Support for Subtyping and Code Re-use in Timor

Unlike most object oriented programming languages Timor, which has been designed to support component development, replaces the class construct with separate constructs for defining types and their implementations (which are not types). It also distinguishes between behaviourally conforming subtyping and the inclusion of behaviourally deviant interfaces in the definition of derived types. The s...

متن کامل

Seroprevalence of Burkholderia pseudomallei in East Timorese refugees: implications for healthcare in East Timor.

Melioidosis is a disease with protean clinical manifestations caused by the bacterium Burkholderia pseudomallei. It is endemic in countries surrounding the newly independent East Timor, but has yet to be isolated or demonstrated serologically in that country. One illness that can be clinically indistinguishable from melioidosis is pulmonary tuberculosis, a condition with a very high prevalence ...

متن کامل

Inheriting Multiple and Repeated Parts in Timor

The paper describes one aspect of multiple inheritance in the Timor programming language, viz. how "parts" such as a type Radio and a type Cassette Player can be inherited, where appropriate repeatedly, in subtypes such as a Radio Double Cassette Player. Because such types can also be defined via aggregation the paper begins by comparing inheritance with aggregation. It then shows how such case...

متن کامل

“Conical Hut”: A Basic Form of House Types in Timor Island

Timor Island situates in the southeast end of Southeast Asia. The island accommodates many ethnic groups, which produce many diverse house types. As visiting East Timor in 2012 and Timor Island in 2014, we found the “PairHouse Type” widely spread over Timor Island. Uma Lulik (holy house), accommodating the ancestry soul, fireplace and elder’s bed, and Uma Tidor (house for sleep), containing liv...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

عنوان ژورنال:
  • Journal of Object Technology

دوره 9  شماره 

صفحات  -

تاریخ انتشار 2010